package com.lvy.hczn.front.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lvy.hczn.front.common.core.domain.AjaxResult;
import com.lvy.hczn.front.system.domain.business.Category;
import com.lvy.hczn.mq.rocket.ParamInfo;

import javax.servlet.http.HttpServletRequest;

public interface CategoryService extends IService<Category> {

    /**
     * 商品类别同步列表
     *
     * @param info
     * @return
     */
    AjaxResult syncCategoryBatch(HttpServletRequest request, ParamInfo info, boolean platform) throws Exception;

    /**
     * 商品类别同步
     *
     * @param info
     * @return
     */
    AjaxResult syncCategory(HttpServletRequest request, ParamInfo<Category> info, boolean platform) throws Exception;
}
